package edu.hawaii.solardecathlon.page.voice;

import org.apache.wicket.ResourceReference;
import org.apache.wicket.markup.html.form.Button;
import org.apache.wicket.markup.html.image.Image;
import edu.hawaii.solardecathlon.page.BasePage;

/**
 * The voice page which allows the user to control the house's built-in voice functions.
 * 
 * @author Jerry Lau
 */
public class VoicePage extends BasePage {

  /** Support serialization. */
  private static final long serialVersionUID = 1L;

  /**
   * The voice page for this application.
   */
  public VoicePage() {

    ResourceReference fullBar = new ResourceReference(VoicePage.class, "fullbar.png");
    add(new Image("full_bar", fullBar));

    ResourceReference emptyBar = new ResourceReference(VoicePage.class, "emptybar.png");
    add(new Image("empty_bar", emptyBar));

    ResourceReference iconMicSmall = new ResourceReference(VoicePage.class, "microphone_small.png");
    add(new Image("icon_mic_small", iconMicSmall));

    ResourceReference iconMicLarge = new ResourceReference(VoicePage.class, "microphone_large.png");
    add(new Image("icon_mic_large", iconMicLarge));

    add(new Button("on"));
    add(new Button("off"));
    add(new Button("area"));
    add(new Button("object"));
    add(new Button("function"));
    add(new Button("add"));
    add(new Button("edit"));
    add(new Button("remove"));
    add(new Button("record"));
    add(new Button("playback"));
  }
}
